#ifndef __W25Q32_H
#define __W25Q32_H

void AD7124_Init(void);
void AD7124_R_ID( uint8_t *ID);
void AD7124_Reset( void);
uint8_t AD7124_R_STATUS( void);
void AD7124_W_REG( uint8_t reg_ad);
void AD7124_R_REG( uint8_t reg_ad);
uint8_t AD7124_SendByte( uint8_t data);
void AD7124_EN( uint8_t status);
uint32_t AD7124_ReadData( uint8_t number);
uint8_t AD7124_Channel_Set( uint8_t channel_X, uint16_t channel_status, uint16_t channel_CONFIG,
							uint16_t channel_AINP, uint16_t channel_AINM);
float AD7124_Config_Set( uint8_t config_X, uint16_t polarity,uint16_t burnout, 
							uint16_t ref_bufp, uint16_t ref_bufm,uint16_t ain_bufp,
							uint16_t ain_bufm, uint16_t ref_sel, uint16_t pga);
void AD7124_ADC_CTRL_Set( uint8_t byte_H, uint8_t byte_L);

uint8_t AD7124_Filter_Set( uint8_t filter_X, uint8_t byte_H, uint8_t byte_L);
uint8_t AD7124_R_RDY( void);
#endif
